//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package messages;

import common.ByteStream;

public class InitSecureConnection extends Base {
    public static final int MsgType = 10100;
    private final String masterHash;

    public InitSecureConnection(String masterHash) {
        super(10100);
        this.setVersion(0);
        this.masterHash = masterHash;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(1);
        stream.writeInt(2);
        stream.writeInt(1);
        stream.writeInt(29);
        stream.writeInt(96);
        stream.writeString(this.masterHash);
        stream.writeInt(2);
        stream.writeInt(2);
    }

    public void decode(ByteStream stream) {
    }
}
